package com.link2room.aeriabots.facade;


import com.link2room.aeriabots.dto.result.base.WxReplyTemplateDto;
import com.link2room.common.jpa.result.QueryResult;
import com.link2room.aeriabots.dto.param.api.WxReplyKeyApiParamDto;
import com.link2room.aeriabots.dto.param.api.WxReplyTemplateApiParamDto;

/**
 * Created by LN on 2016/12/1.
 */
public interface IWXReplyFacadeService {
    /**
     * 获取列表
     * @param paramDto
     * @return
     * @throws Exception
     */
    QueryResult<WxReplyTemplateDto> getWxReplyTemplates(WxReplyTemplateApiParamDto paramDto) throws Exception;
    /**
     * 获取列表详情
     * @param paramDto
     * @return
     * @throws Exception
     */
    QueryResult<WxReplyTemplateDto> getWxReplyTemplateDetails(WxReplyTemplateApiParamDto paramDto) throws Exception;
    /**
     * 创建图文组
     * @param paramDto
     * @throws Exception
     */
    void createWxReplyTemplate(WxReplyTemplateApiParamDto paramDto) throws Exception;
    /**
     * 更新图文组
     * @param paramDto
     * @throws Exception
     */
    void updateReplyTamplate(WxReplyTemplateApiParamDto paramDto) throws Exception;
    /**
     * 删除图文组
     * @param paramDto
     * @throws Exception
     */
    void delReplyTemplate(WxReplyTemplateApiParamDto paramDto) throws Exception;

    /**
     * 图文获取列表
     * @param paramDto
     * @return
     */
    QueryResult getReplyKeys(WxReplyKeyApiParamDto paramDto) throws Exception;

    /**
     * 创建key
     * @param paramDto
     */
    void createKey(WxReplyKeyApiParamDto paramDto) throws Exception;

    /**
     * 更新key
     * @param paramDto
     * @throws Exception
     */
    void updateKey(WxReplyKeyApiParamDto paramDto) throws Exception;

    /**
     * 删除
     * @param paramDto
     * @throws Exception
     */
    void deleteKey(WxReplyKeyApiParamDto paramDto) throws Exception;


}